//封装cookie方法
import { useCookies } from '@vueuse/integrations/useCookies'
const Token = 'admin-token';
const cookie = useCookies();

export function setToken(token)
{
    cookie.set(Token, token);
}

export function getToken()
{
    return cookie.get(Token);
}

export function removeToken()
{
    cookie.remove(Token);
}

